You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > SortAscend Method > MatrixInt.SortAscend Method ([In] TMtxVecInt, [In] int, [In] int, [In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.SortAscend Method ([In] TMtxVecInt, [In] int, [In] int, [In] int)

Sort all calling vector elements in ascending order in-place.

Syntax
C#
Visual Basic
public TMtxVecInt SortAscend([In] TMtxVecInt DstSortIdx, [In] int SortIdxIndex, [In] int Index, [In] int Len);
Parameters 
Description 
[In] TMtxVecInt DstSortIdx 
After execution stores sorted values indices. 
[In] int SortIdxIndex 
The starting index for the DstSortIdx parameter. 
[In] int Index 
The starting index at which to start the sort. 
[In] int Len 
The number of elements to sort starting from including zero-based Index. 

calling vector, storing sorted values.

Size of DstSortIdx and calling vector are adjusted automatically.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!